/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
 * @author: Pegasus  Date: 2019-02-13 Time: 23:07
 */

import {Action} from "../../../../../../configuration/ActionCreator"
import {requestOrderChangeState} from "../../../../../../request/RepairOrderOperationRequest"



export const orderChangeStateMsg = 'orderChangeStateMsg';
export const orderChangeState = (str ,procedure) => {
    let action = Action(orderChangeStateMsg);
    return dispatch => dispatch(requestOrderChangeState(action, str ,procedure))
}